package com.bestdreamer.sorting.bubble;

public class TestBubbleSort {

    public static void main(String[] args){
        long[] arr = new long[5];
        arr[0] = 43;
        arr[1] = 23;
        arr[2] = 2;
        arr[3] = 1;
        arr[4] = 14;

        System.out.print("[");
        for(long num:arr){
            System.out.print(num+" ");
        }
        System.out.println("]");

        BubbleSort.sort(arr);
        System.out.print("[");
        for(long num:arr){
            System.out.print(num+" ");
        }
        System.out.println("]");
    }
}
